package cn.ekgc.carddemo.service;

import cn.ekgc.carddemo.entity.Pagination;
import cn.ekgc.carddemo.entity.Student;
import cn.ekgc.carddemo.entity.StudentExample;

import java.util.List;
import java.util.Map;

public interface StudentService {
    void save(Student student);
    void update(Student student);
    void delete(int id);
    void delete(StudentExample studentExample);
    List<Student> list(StudentExample studentExample);

    Map<String,Object> list(Pagination pagination);
}
